package com.diqye.db.dialect;

import java.util.List;

import com.diqye.db.Tinfo;
import com.diqye.db.model.XModel;

public  interface IDialect {

	public String getdialectname();
	public String tableInfosql(String tablename);
	
	public String savesql(XModel model);
	
	public String deletesql(Tinfo tinfo);
	
	public String deletemoresql(Tinfo tinfo,String where);
	
	public String updatesql(XModel model);
	
	public String updatemoresql(Tinfo tinfo,List<String> fields,String where);
	
	public String findbyidsql(Tinfo tinfo);
}
